/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */

package SRDException;

/**
 *
 * @author ylopez
 */
public class SRDException extends Exception {

    private final String message;

    public SRDException() {
        this.message = (new Exception()).getMessage();
    }

    public SRDException(String message) {
        this.message = message;
    }
    
    private String getMessageException() {
        return this.message;
    }

    public void printException() {
        System.err.println(this.getMessageException());
    }

}
